﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace AspDemo.Models
{
    public class ApplicationDataContext : DbContext
    {
        public ApplicationDataContext(DbContextOptions<ApplicationDataContext> opt) 
            : base(opt)
        {

        }

        public DbSet<User> Users { get; set; }
        public DbSet<Record> Records { get; set; }
    }
}
